﻿using System;

using System.Collections.Generic;
using System.Text;
using Silvermoon.Controls.Base;

namespace Silvermoon.Controls
{
    /// <summary>
    /// Used for virtual TreeViews to get the number of virtual nodes, the total height and the positions of the headers for a node.
    /// </summary>
    public class TreeViewEventArgs:EventArgs
    {
        /// <summary>
        /// Gets or sets the number of virtual child nodes for the specified node including possible <see cref="T:ListViewHeader"/>s.
        /// </summary>
        public int NodeCount { get; set; }


        /// <summary>
        /// Gets the <see cref="T:TreeViewItem"/> node for which to determine the values.
        /// </summary>
        public TreeViewItem Node { get; internal set; }
    }
}
